<html>
  <head>
    <link type="text/css" rel="stylesheet" href="ui/stylesheets/main.css" />
  </head>
  <body>
    {% for link in links %}
      {% if link.author %}
        <b>{{ link.author.nickname }}</b> link:
      {% else %}
        An anonymous person link:
      {% endif %}
      <blockquote>Old Url: {{ link.original|escape }}</blockquote>
      <blockquote>New Url: <a href="{{ link.modified|escape }}">{{ link.modified|escape }}</a></blockquote>
      <blockquote>Clicks: {{ link.clicks|escape }}</blockquote>
      <hr>
    {% endfor %}

    <form action="/convert" method="post">
      <div><textarea name="content" rows="3" cols="60"></textarea></div>
      <div><input type="submit" value="Submit Url"></div>
    </form>

    <a href="{{ url }}">{{ url_linktext }}</a>

  </body>
</html>

